package com.y.erp.model;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;

/**
 * <p>
 * 
 * </p>
 *
 * @author Carl
 * @since 2016-12-23
 */
@TableName("emp")
public class Emp extends Model<Emp> {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
    @TableId
	private Long empno;

	/**
	 * 
	 */
	private String ename;

	/**
	 * 
	 */
	private String job;

	/**
	 * 
	 */
	private Long mgr;

	/**
	 * 
	 */
	private Date hiredate;

	/**
	 * 
	 */
	private Long sal;

	/**
	 * 
	 */
	private Long comm;

	/**
	 * 
	 */
	private Long deptno;



	public Long getEmpno() {
		return empno;
	}

	public void setEmpno(Long empno) {
		this.empno = empno;
	}

	public String getEname() {
		return ename;
	}

	public void setEname(String ename) {
		this.ename = ename;
	}

	public String getJob() {
		return job;
	}

	public void setJob(String job) {
		this.job = job;
	}

	public Long getMgr() {
		return mgr;
	}

	public void setMgr(Long mgr) {
		this.mgr = mgr;
	}

	public Date getHiredate() {
		return hiredate;
	}

	public void setHiredate(Date hiredate) {
		this.hiredate = hiredate;
	}

	public Long getSal() {
		return sal;
	}

	public void setSal(Long sal) {
		this.sal = sal;
	}

	public Long getComm() {
		return comm;
	}

	public void setComm(Long comm) {
		this.comm = comm;
	}

	public Long getDeptno() {
		return deptno;
	}

	public void setDeptno(Long deptno) {
		this.deptno = deptno;
	}

	@Override
	protected Serializable getPrimaryKey() {
		return empno;
	}

}
